package com.hhkj.study.admin.resource.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.ruoyi.common.core.domain.BizBaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 课程资源基类
 * @Author luowu
 * @Date 2024/10/12 涵 14:16:17
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class ResourceCourseBase extends BizBaseEntity {

    /**
     * 类型,字典表中id
     */
    private Long type;

    /**
     * 资源大小
     */
    @TableField(exist = false)
    private Long resourceCount;

    /**
     * 题库id,关联x_resource_question_bank表中id
     */
    @TableField(exist = false)
    private Long bankId;

    /**
     * 题库类型
     */
    @TableField(exist = false)
    private Long bankType;

    /**
     * 题库数量
     */
    @TableField(exist = false)
    private Integer questionCount;

    /**
     * 资料id
     */
    @TableField(exist = false)
    private Long docId;

    /**
     * 资料地址
     */
    @TableField(exist = false)
    private String docUrl;

    /**
     * 资料地址
     */
    @TableField(exist = false)
    private Long docSize;
}
